package one;

/**
 * 减法运算继承运算类
 */
public class SubOperation extends Operation {
    @Override
    public double getResult() {
        double result=0;
        return getNumber1()-getNumber2();
    }
}
